<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<p id="p1">我是文字1</p>
<p id="p2">我是文字2</p>
<script type="text/javascript">
document.write("开启JS之旅!");
</script>
</body>
</html>

    <!--document.write("hello");-->
    <!--document.getElementById("p2").style.color="blue";-->
